package com.cap.bts.crmdp.commons.sftp;

import java.io.Serializable;

/**
 * Created by annson on 2015/12/3.
 */
public class SftpProperties implements Serializable {
	private static final long serialVersionUID = 6641219836022500308L;
	
	private String host;
    private String userName;
    private String password;
    private String path;
    private int port = 22;//default 22
    private int defaultTimeout = 30000 ;//default 30000 milliseconds

    public SftpProperties() {
    }
    public SftpProperties(String host, String userName, String password) {
        this.host = host;
        this.userName = userName;
        this.password = password;
    }
    public SftpProperties(String host, String userName, String password, int port) {
        this.host = host;
        this.userName = userName;
        this.password = password;
        this.port = port;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getDefaultTimeout() {
        return defaultTimeout;
    }

    public void setDefaultTimeout(int defaultTimeout) {
        this.defaultTimeout = defaultTimeout;
    }
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
    
}
